<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp"%>

<form action="${ctx}/sys/oper/update" method="post">
    <table>
        <tbody>
            <tr>
                <td><label for="id">操作ID</label></td>
                <td><input type="text" id="id" name="id" value="${oper.id}" readonly="readonly" class="easyui-textbox"
                        data-options="validType:'length[0,32]', prompt:'不输入时会自动生成'"/>
                </td>
            </tr>
            <tr>
                <td><label for="name">操作名</label></td>
                <td><input type="text" id="name" name="name" value="${oper.name}" class="easyui-textbox"
                        data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="handler">前端处理器</label></td>
                <td><input type="text" id="handler" name="handler" value="${oper.handler}" class="easyui-textbox"
                        data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="iconCls">图标类</label></td>
                <td><input type="text" id="iconCls" name="iconCls" value="${oper.iconCls}"/></td>
            </tr>
            <tr>
                <td><label for="methodNames">后端方法名</label></td>
                <td><input type="text" id="methodNames" name="methodNames" value="${oper.methodNames}" class="easyui-textbox"
                        data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="aclIndex">访问控制索引</label></td>
                <td><input type="text" id="aclIndex" name="aclIndex" value="${oper.aclIndex}" class="easyui-textbox"
                        data-options="required:true, validType:'range[0,30]'"/>
                </td>
            </tr>
            <tr>
                <td><label for="controllerId">所属控制器ID</label></td>
                <td><input type="text" id="controllerId" name="controllerId" value="${oper.controllerId}" readonly="readonly" class="easyui-textbox"
                        data-options="required:true,validType:'length[0,32]'"/>
                </td>
            </tr>
            <tr>
                <td><label for="menuId">所在菜单ID</label></td>
                <td><input type="text" id="menuId" name="menuId" value="${oper.menuId}" class="easyui-textbox"
                        data-options="validType:'length[0,32]'"/>
                </td>
            </tr>
        </tbody>
    </table>
</form>